package com.example.tester;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

/**
 * 在Spring Boot入口类中加入@EnableCaching注解开启缓存功能
 */
@SpringBootApplication
@EnableCaching
public class TesterApplication {

    public static void main(String[] args) {
        SpringApplication.run(TesterApplication.class, args);
    }

}
